FROM 192.168.1.250:5000/java:1.8
LABEL Author Liuhao
LABEL Email  l.hao.2012@qq.com
LABEL DATE  2018-02-19

ARG JAR_FILE
ADD target/${JAR_FILE} /usr/share/app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/usr/share/app.jar"]
# CMD java -version
